$newTime = Time.AddSecond
("<time>", <n>)
Adds or subtracts a given number of time interval in seconds to the time specified.
Parameters
<time> Any valid time expression.
<n> An expression denoting the number of time intervals in seconds you want to add or subtract. To subtract, n should be negative.
Return Value
Returns the new time depending on the control panel settings.
Example
$stime = "10:42:23 PM"
$ret = time.AddSecond ($stime, 5)
- $ret contains 10:42:28 PM.